package mundo.java.client.events;

import mundo.java.shared.GreetingAction;
import mundo.java.shared.GreetingResponse;

public class GreetingResponseEvent extends Event {
	public static final Type TYPE = new Type();
	
	public final GreetingAction action;
	public final GreetingResponse response;

	public GreetingResponseEvent(GreetingAction action, GreetingResponse response) {
		this.action = action;
		this.response = response;
	}

	@Override
	public Type getAssociatedType() {
		return TYPE;
	}
}